list constructor

[list kənˈstrʌktə]
  • 释义

    [计] 表构造器;

数据更新时间:2026-08-25 14:29:15
1、

You aren't limited to passing a sequence directly into the constructor; you can also pass a variable that holds a tuple or a string into the list constructor.

您不仅能够将序列直接传递给构造函数,还可以将拥有元组或字符串的变量传递给list构造函数。

互联网摘选

2、

A constructor initializer list specifies initial values for one or more data members of the class.

构造函数的初始化列表为类的一个或多个数据成员指定初值.

网络文摘精选

3、

Omitting the constructor argument list and enclosing parentheses is equivalent to specifying an empty argument list. For a description of a function, click a function in the list, and then click Help on this function.

删除构造函数参数列表和圆括号相当于明确一个空的参数列表。有关某一函数的说明,请单击列表中的函数,然后单击此函数上的帮助。

互联网摘选

4、

List used in a constructor to specify initial values for data members.

在构造函数中用于为数据成员指定初值的表.

互联网摘选

5、

Thus, you can create a list using a constructor, in addition to the shorthand notation of using the square brackets.

因此,使用构造函数及方括号简化符号,可以创建list。

互联网摘选

6、

The initializers for ZooAnimal Bear's constructor initializer list are ignored.

忽略Bear的用于ZooAnimal构造函数初始化列表的初始化式.

网络文摘精选

  • 相关词组
  • 今日热词
  • 热门搜索

瑞鸿网英语词典(dict.ruihongw.com)为您提供在线翻译、英语词典、单词大全、英译汉、汉译英等英语服务!可按单词头尾、字数和词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈